libxl: implement destroy for libxl_file_reference builtin type
authorIan Campbell <ian.campbell@citrix.com>
Thu, 19 Aug 2010 14:25:15 +0000 (15:25 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 19 Aug 2010 14:25:15 +0000 (15:25 +0100)
commit10cf11b43638a854e372e39275edb7863614a7b9
tree9c96bae68871baf1b0df633c6382b9c98b6f04be
parent60ce81bc56b4b8a997a7d8791390d3da1a389a71
libxl: implement destroy for libxl_file_reference builtin type

As well as freeing data any file mappings need to be torn down so
implement an explicit destroy function.

Also the map and unmap function are internal to libxl so make that so.

[PATCH 09 of 16 of
 libxl: autogenerate type definitions and destructor functions]

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl.idl
tools/libxl/libxl_bootloader.c
tools/libxl/libxl_internal.c
tools/libxl/libxl_internal.h